package cn.harvest.storage.po;

import java.util.HashSet;
import java.util.Set;

/**
 * Invoice entity. @author MyEclipse Persistence Tools
 */

public class Invoice implements java.io.Serializable {

	// Fields

	private Integer invoiceId;
	private Employee employeeByEmployeeId;
	private Employee employeeByOperatorId;
	private Storehouse storehouse;
	private Supplier supplier;
	private Integer invoiceTypeId;
	private String invoiceCid;
	private String invoiceDate;
	private Float invoiceTotal;
	private String invoiceMemo;
	private Set invoiceItems = new HashSet(0);

	// Constructors

	/** default constructor */
	public Invoice() {
	}

	/** full constructor */
	public Invoice(Employee employeeByEmployeeId,
			Employee employeeByOperatorId, Integer invoiceTypeId,
			Storehouse storehouse, Supplier supplier, String invoiceCid,
			String invoiceDate, Float invoiceTotal, String invoiceMemo,
			Set invoiceItems) {
		this.employeeByEmployeeId = employeeByEmployeeId;
		this.employeeByOperatorId = employeeByOperatorId;
		this.invoiceTypeId = invoiceTypeId;
		this.storehouse = storehouse;
		this.supplier = supplier;
		this.invoiceCid = invoiceCid;
		this.invoiceDate = invoiceDate;
		this.invoiceTotal = invoiceTotal;
		this.invoiceMemo = invoiceMemo;
		this.invoiceItems = invoiceItems;
	}

	// Property accessors

	public Integer getInvoiceId() {
		return this.invoiceId;
	}

	public void setInvoiceId(Integer invoiceId) {
		this.invoiceId = invoiceId;
	}

	public Employee getEmployeeByEmployeeId() {
		return this.employeeByEmployeeId;
	}

	public void setEmployeeByEmployeeId(Employee employeeByEmployeeId) {
		this.employeeByEmployeeId = employeeByEmployeeId;
	}

	public Employee getEmployeeByOperatorId() {
		return this.employeeByOperatorId;
	}

	public void setEmployeeByOperatorId(Employee employeeByOperatorId) {
		this.employeeByOperatorId = employeeByOperatorId;
	}

	public Storehouse getStorehouse() {
		return this.storehouse;
	}

	public void setStorehouse(Storehouse storehouse) {
		this.storehouse = storehouse;
	}

	public Supplier getSupplier() {
		return this.supplier;
	}

	public void setSupplier(Supplier supplier) {
		this.supplier = supplier;
	}

	public Integer getInvoiceTypeId() {
		return this.invoiceTypeId;
	}

	public void setInvoiceTypeId(Integer invoiceTypeId) {
		this.invoiceTypeId = invoiceTypeId;
	}

	public String getInvoiceCid() {
		return this.invoiceCid;
	}

	public void setInvoiceCid(String invoiceCid) {
		this.invoiceCid = invoiceCid;
	}

	public String getInvoiceDate() {
		return this.invoiceDate;
	}

	public void setInvoiceDate(String invoiceDate) {
		this.invoiceDate = invoiceDate;
	}

	public Float getInvoiceTotal() {
		return this.invoiceTotal;
	}

	public void setInvoiceTotal(Float invoiceTotal) {
		this.invoiceTotal = invoiceTotal;
	}

	public String getInvoiceMemo() {
		return this.invoiceMemo;
	}

	public void setInvoiceMemo(String invoiceMemo) {
		this.invoiceMemo = invoiceMemo;
	}

	public Set getInvoiceItems() {
		return this.invoiceItems;
	}

	public void setInvoiceItems(Set invoiceItems) {
		this.invoiceItems = invoiceItems;
	}

}